import upload from '@/utils/upload'
import request from '@/utils/request'

export function getJyEchart(data) {
  return request({
    url: '/bs/statistic/week/report/operate/flow/compare',
    method: 'get',
    data
  })
}
export function getJyViewRank(data) {
  return request({
    url: '/bs/statistic/week/report/operate/top',
    method: 'get',
    data
  })
}
export function getJyDetail(data) {
  return request({
    url: '/bs/statistic/week/report/operate/total',
    method: 'get',
    data
  })
}

export function getLlDetail(data) {
  return request({
    url: '/bs/statistic/week/report/flow/total',
    method: 'get',
    data
  })
}
export function getLlLineSex(data) {
  return request({
    url: '/bs/statistic/week/report/flow/compare',
    method: 'get',
    data
  })
}
export function getLlAge(data) {
  return request({
    url: '/bs/statistic/week/report/age/compare',
    method: 'get',
    data
  })
}
export function getLlPeopleTop(data) {
  return request({
    url: '/bs/statistic/week/report/flow/top',
    method: 'get',
    data
  })
}
export function getLlInside(data) {
  return request({
    url: '/bs/statistic/week/report/flow/market',
    method: 'get',
    data
  })
}
export function getLlOut(data) {
  return request({
    url: '/bs/statistic/week/report/flow/provice',
    method: 'get',
    data
  })
}
// 2 获取所有景区列表
export function jingQuListApi() {
  return request({
    url: '/bs/jingqu/getList',
    method: 'get'
  })
}
